
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>{$userinfo['nickname']}的主页</title>
{include file="common/link"}
</head>
<body class="fly-full">

{include file="common/header"}

<div class="fly-home fly-panel" style="background-image: url();">
  <img src="{$userinfo['avatar']}" alt="{$userinfo['nickname']}">
  
    <i class="iconfont icon-renzheng" title="Fly社区认证"></i>
  
  <h1>
    {$userinfo['nickname']}
    <i class="iconfont 

    {eq name="userinfo['sex']" value="男"}
      icon-nan
    {/eq}
    {eq name="userinfo['sex']" value="女"}
      icon-nv
    {/eq}
    
    "></i> 

    
      <i class="layui-badge fly-badge-vip">VIP{{ lay.util.vip(info.rmb) }}</i>
    
    
      <span style="color:#c00;">（管理员）</span>
    
      <span style="color:#5FB878;">（社区之光）</span>
    
      <span>（该号已被封）</span>
    
  </h1>

 
    <p style="padding: 10px 0; color: #5FB878;">认证信息：社区之星</p>
  

  <p class="fly-home-info">
    <i class="iconfont icon-kiss" title="飞吻"></i><span style="color: #FF7200;">10飞吻</span>
    <i class="iconfont icon-shijian"></i><span>{$userinfo['addtime']} 加入</span>
    <i class="iconfont icon-chengshi"></i><span>来自'中国 某城'</span>
  </p>

  <p class="fly-home-sign">（这个人懒得留下签名）</p>


  <div class="fly-sns" data-user="{{ encodeURIComponent(userinfo) }}">
    <a href="javascript:;" class="layui-btn layui-btn-primary fly-imActive" data-type="addFriend">加为好友</a>
    <a href="javascript:;" class="layui-btn layui-btn-normal fly-imActive" data-type="chat">发起会话</a>
  </div>
  

</div>

<div class="layui-container">
  <div class="layui-row layui-col-space15">
    <div class="layui-col-md6 fly-home-jie">
      <div class="fly-panel">
        <h3 class="fly-panel-title">{$userinfo['nickname']} 最近的提问</h3>
        <ul class="jie-row">
        {foreach $newslist as $v}
          <li>
            {eq name="v['hot']" value="1"}<span class="fly-jing layui-hide-xs">精</span>{/eq}
            <a href="{$v['url']}" class="jie-title">{$v['title']}</a>
            <i>{$v['pushtime']}</i>
            <em class="layui-hide-xs">{$v['hits']}阅/{$v['hits']}答</em>
          </li>
        {/foreach}
        
        {empty name="newslist"}
        <div class="fly-none" style="min-height: 50px; padding:30px 0; height:auto;"><i style="font-size:14px;">没有发表任何求解</i></div>
        {/empty}
        </ul>
      </div>
    </div>
    
    <div class="layui-col-md6 fly-home-da">
      <div class="fly-panel">
        <h3 class="fly-panel-title">{$userinfo['nickname']} 最近的回答</h3>
        <ul class="home-jieda">
        {foreach $comment as $v}
        <li>
          <p>
          <span>{$v['addtime']}</span>
          在<a href="{$v['newsurl']}" target="_blank">{$v['newstitle']}</a>中回答：
          </p>
          <div class="home-dacontent">{$v['content']}</div>
        </li>
        {/foreach}
        
        {empty name="comment"}
        <div class="fly-none" style="min-height: 50px; padding:30px 0; height:auto;"><span>没有回答任何问题</span></div>
        {/empty}
        </ul>
      </div>
    </div>
  </div>
</div>

{include file="common/footer"}

</body>
</html>